package Askgene::Database::Schema::TheSchwartz::Error;

use strict;
use warnings;

use base 'DBIx::Class';

__PACKAGE__->load_components("Core");
__PACKAGE__->table("error");
__PACKAGE__->add_columns(
  "error_time",
  { data_type => "INT", is_nullable => 0, size => 10 },
  "jobid",
  { data_type => "BIGINT", is_nullable => 0, size => 20 },
  "message",
  { data_type => "VARCHAR", is_nullable => 0, size => 255 },
  "funcid",
  { data_type => "INT", default_value => 0, is_nullable => 0, size => 10 },
);


# Created by DBIx::Class::Schema::Loader v0.04004 @ 2007-12-19 17:40:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aeaO6j6F1b1Cpkw8UCVLdw


# You can replace this text with custom content, and it will be preserved on regeneration
__PACKAGE__->belongs_to( 'job', 'TheSchwartz::Job',
    { 'foreign.jobid' => 'self.jobid' } );
__PACKAGE__->has_one( 'function', 'TheSchwartz::Funcmap',
    { 'foreign.funcid' => 'self.funcid' } );

1;
